package com.xbongbong.saas.model;

import com.xbongbong.paas.toolbox.exception.XbbException;
import com.xbongbong.pro.domain.entity.UpdateDataEntity;
import com.xbongbong.saas.domain.entity.ext.CreditCardBillEntityExt;

import java.util.List;
import java.util.Map;


/**
 * @author xingxing.xiao
 */
public interface CreditCardBillModel {

   Integer insert(CreditCardBillEntityExt entity) throws XbbException;

   void insertBatch(List<CreditCardBillEntityExt> list, boolean isImport) throws XbbException;

   List<CreditCardBillEntityExt> findEntities(Map<String, Object> param);

   Integer getEntityCount(Map<String, Object> param);

   Integer update(CreditCardBillEntityExt entity) throws XbbException;

   CreditCardBillEntityExt getByKey(Long key, String corpid);

   Integer updateBatch(List<UpdateDataEntity> valueList, String corpid) throws XbbException;
}
